package com.hxj.ecokey.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@TableName("user_ranking")
public class UserRanking {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer userId;
    private String name;
    private String avatar;
    private BigDecimal carbonAmount;
    private Integer rankType;
    private Date createTime;
    private Date updateTime;

}
